<table id="query_table" ref="SrvQuery" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"sqId")||fields=="*"||(!fields && true)}}' tdid="1" ref="sqId"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"sqName")||fields=="*"||(!fields && true)}}' tdid="2" ref="sqName" flagKey='true'  title="查询名称">查询名称
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"sqIcon")||fields=="*"||(!fields && false)}}' tdid="3" ref="sqIcon"   title="图标">图标
			 </td>
			 <td width="{{fields=='*'?'200':''}}" lz:if='{{lz.idin(fields,"sqPath")||fields=="*"||(!fields && true)}}' tdid="4" ref="sqPath"   title="项目路径">项目路径
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"sqEditor")||fields=="*"||(!fields && true)}}' tdid="5" ref="sqEditor"   title="添加人">添加人
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"sqUpdateTime")||fields=="*"||(!fields && false)}}' tdid="6" ref="sqUpdateTime"   title="修改时间">修改时间
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"sqAddTime")||fields=="*"||(!fields && false)}}' tdid="7" ref="sqAddTime"   title="添加时间">添加时间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"sqStatus")||fields=="*"||(!fields && true)}}' tdid="8" ref="sqStatus"   title="状态">状态
			 </td>
			<td  width="105"  class="operation" tdid="9" ref="operation">
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.sqId}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.sqId}}"/>
			</td>
			 
				<td lz:if='{{lz.idin(fields,"sqId")||fields=="*"||(!fields && true)}}' ref="sqId" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.sqId$ || item.sqId}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sqName")||fields=="*"||(!fields && true)}}' ref="sqName" class="inc {{index%2==0?'odd':'even'}} td  node">
					 
					 
					 	{{item.sqName$ || item.sqName}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sqIcon")||fields=="*"||(!fields && false)}}' ref="sqIcon" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.sqIcon$ || item.sqIcon}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sqPath")||fields=="*"||(!fields && true)}}' ref="sqPath" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.sqPath$ || item.sqPath}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sqEditor")||fields=="*"||(!fields && true)}}' ref="sqEditor" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.sqEditor}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}admin/permissions/user.edit.html?key={{item.sqEditor}}')" href="javascript:void(0);">
					 	{{item.sqEditor$ || item.sqEditor}}</a>
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sqUpdateTime")||fields=="*"||(!fields && false)}}' ref="sqUpdateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.sqUpdateTime$ || item.sqUpdateTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sqAddTime")||fields=="*"||(!fields && false)}}' ref="sqAddTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.sqAddTime$ || item.sqAddTime}}
				</td>
			 
				<td lz:if='{{lz.idin(fields,"sqStatus")||fields=="*"||(!fields && true)}}' ref="sqStatus" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.sqStatus$ || item.sqStatus}}
				</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a lz:if="{{canEdit}}" onclick='navigate("/admin/configurator/query.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a lz:if="{{canDel}}" onclick="deleteQuery('{{item.sqId}}','{{item.sqName}}')" href="javascript:void(0);">删除</a>
				<a lz:if="{{canView}}" class="inc-h" onclick='navigate("/admin/configurator/query.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>